#include "StdAfx.h"
#include "SerialCheckWin.h"
#include "SerialSingleton.h"
SerialCheckWin::SerialCheckWin(void)
{
}

SerialCheckWin::~SerialCheckWin(void)
{
}

bool SerialCheckWin::run(void* param)
{
	if (param == NULL)
	{
		return false;
	}

	SerialSingleton& serial = SerialSingleton::getInstance();

	return serial.open(reinterpret_cast<char *>(param));
}